package com.hc.wego.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;

import com.hc.wego.bean.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 省
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_province")
public class Province extends BaseEntity {


    /**
     * 省名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 编码：对应身份证前2位
     */
    @TableField(value = "code")
    private String code;

    /**
     * 显示优先级
     */
    @TableField(value = "priority")
    private Integer priority;

    /**
     * 删除标识
     */
    @TableField(value = "deleted")
    private Boolean deleted;

    /**
     * 状态： 0不可用  1可用
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 备注
     */
    @TableField(value = "info")
    private String info;


}